package com.bz.xtcx.manager.service;

import com.bz.xtcx.manager.comom.XtcxException;
import com.bz.xtcx.manager.entity.CmsExchanges;
import com.bz.xtcx.manager.entity.CmsMeeting;
import com.bz.xtcx.manager.persist.conditions.MeetingCondition;
import com.bz.xtcx.manager.vo.VoResponse;
import com.github.pagehelper.PageInfo;

public interface ICmsMeetingService {

    PageInfo<CmsMeeting> getPageByCondition(MeetingCondition query, int pageNum, int pageSize) throws XtcxException;

    PageInfo<CmsMeeting> getPageForUser(MeetingCondition query, int pageNum, int pageSize) throws XtcxException;

    CmsMeeting getById(String id) throws XtcxException;

    CmsMeeting findById(String id) throws XtcxException;

    VoResponse add(CmsMeeting t) throws XtcxException;

    VoResponse refuse(String id, String why) throws XtcxException;

    VoResponse agree(String id) throws XtcxException;

    String[] getAppNameAndAppCodeByTypeAndId(Integer typeId, String id) throws XtcxException;

    CmsMeeting getByCd(String cd) throws XtcxException;
}
